Vincent Purcell

Data Mining 2 - Final Project

Set up MongoDB Connections

Stat Averages Function

Function to take array of statistics and get average of each feature and output list of averages

Get Data Function

Function to grab data from specified DBs and output an array

Read data from DB's

Create Pandas Dataframe

Get Training and Testing Data

Perform 85/15 test split. Print data snippet and class count plot

Correlation Heatmap

Data Pairplot

MLP Classifier

Output MLP accuracy and confusion matrix

SVM Classifier

Output SVM accuracy and confusion matrix

SVM Regressor Sensitivity Analysis

MLP Regressor Sensitivity Analysis

Decision Tree Regressor Sensitivity Analysis

Decision Tree Classifier (Max depth specified)

Decision Tree Classifier (No Max Depth)

Random Forest Classifier

Read in Future Game Data

Output dataframe head

Predict Future Games